<template>
  <el-container class="all">
    <el-header><Header /></el-header>
    <el-container class="inner_container" :style="{backgroundImage:`url(${bgImg})`,height:`859px`,width:`100%`}">
      <el-main class="main">
        <router-view />
      </el-main>
    </el-container>
  </el-container>

</template>

<script>
import bgImg from '@/assets/bz.jpg'
import Header from '../header/index.vue'
export default {
  name: 'Whisper',
  components: { Header },
  data() {
    return {
      bgImg: bgImg,
      default_active: ''
    }
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath)
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath)
    },
    goto(path) {
      this.$router.push(path)
    }
  }
}
</script>

<style lang="scss" scoped>
.all{
    display: flex;
  flex-direction: column;
  min-height: 100%;
}
.main{
  display: flex;
  justify-content: center;
}
.aside{
  height: 839px;
}
.el-menu-vertical-demo{
  background: rgba($color: #F2ECFF, $alpha: 0.6);
}
.el-header{
  padding: 0;
}
</style>
